package com.shenluyao.service;
import com.shenluyao.dao.FpsPerMasterDataMapper;
import com.shenluyao.model.FpsPerMasterData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @author SHIXIAOFEI
 * @Description: 机构
 * @date 2018/11/19 11:18
 */
@Service
public class FpsPerMasterDataService {
    @Autowired
    private FpsPerMasterDataMapper fpsPerMasterDataMapper;

    public List<FpsPerMasterData> findFpsPerMasterData(FpsPerMasterData fpsPerMasterData){
        return fpsPerMasterDataMapper.findFpsPerMasterData(fpsPerMasterData);
    }

    public int insertFpsPerMasterData(FpsPerMasterData fpsPerMasterData){
        return fpsPerMasterDataMapper.insertFpsPerMasterData(fpsPerMasterData);
    }

    public FpsPerMasterData getFpsPerMasterDataById(String id){
        return fpsPerMasterDataMapper.getFpsPerMasterDataById(id);
    }

    public int updateFpsPerMasterData(FpsPerMasterData fpsPerMasterData){
        return fpsPerMasterDataMapper.updateFpsPerMasterData(fpsPerMasterData);
    }

    public int deleteFpsPerMasterDataById(String id){
        return fpsPerMasterDataMapper.deleteFpsPerMasterDataById(id);
    }

    public List<FpsPerMasterData> getFpsPerMasterDataListById(String id){
        return fpsPerMasterDataMapper.getFpsPerMasterDataListById(id);
    }


    public FpsPerMasterData getFpsPerMasterDataByName(String name){
        return fpsPerMasterDataMapper.getFpsPerMasterDataByName(name);
    }
    public List<FpsPerMasterData> getFpsPerMasterDataListByName(String name){
        return fpsPerMasterDataMapper.getFpsPerMasterDataListByName(name);
    }


    public int deleteFpsPerMasterDataBatch(FpsPerMasterData fpsPerMasterData){
        return fpsPerMasterDataMapper.deleteFpsPerMasterDataBatch(fpsPerMasterData);
    }





}
